package se.webbzon.boltzmann.game.object.dialogue;

import se.webbzon.oschi01.worldobject.WorldStaticObject;

public class TalkerWrapper implements Talker {
	
	// The world static object wrapped by this talker wrapper
	private final WorldStaticObject talker;
	
	// The voice of this wrapper
	private final DialogueVoice voice;
	
	/*============================================================
	Constructors
	============================================================*/
	
	public TalkerWrapper(WorldStaticObject instance) {
		this(instance,DialogueVoice.none);
	}

	public TalkerWrapper(WorldStaticObject instance, DialogueVoice voice) {
		this.talker = instance;
		this.voice = voice;
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public double getX() {
		return talker.getX();
	}

	@Override public double getY() {
		return talker.getY();
	}

	@Override public double getZ() {
		return talker.getZ();
	}

	@Override public double getWidth() {
		return talker.getWidth();
	}

	@Override public double getHeight() {
		return talker.getHeight();
	}

	@Override public double getDepth() {
		return talker.getDepth();
	}

	@Override public DialogueVoice getVoice() {
		return voice;
	}
	
}
